package callback_model;

public class MyBuy {
	public static void main(String[] args) {
		TestBuy.getmybuy(3, new Buy(){

			@Override
			public void mybuy(String str) {

				System.out.println("I buy a "+str);
			}});
		
	}

}
